package com.example.expandablelistview.basicwidget;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.Toast;

import com.example.expandablelistview.R;

public class ArrowButton extends Activity {
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.arrowbutton);
	}

	public void mOnClick(View v) {
		String text = null;
		switch (v.getId()) {
		case R.id.arrow1:
			text = "Arrow1 clicked";
			break;
		case R.id.arrow2:
			text = "Arrow2 clicked";
			break;
		case R.id.arrow3:
			text = "Arrow3 clicked";
			break;
		}
		Toast.makeText(this, text, Toast.LENGTH_LONG).show();
	}
}
